package com.jingdianjichi.subject.domain.handler.subject;

import com.jingdianjichi.subject.common.enums.SubjectInfoTypeEnum;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.domain.entity.SubjectOptionBO;

public interface SubjectTypeHandler {
    /**
     * 枚举身份的识别
     *
     * @return
     */
    SubjectInfoTypeEnum getSubjectType();

    /**
     * 实际添加题目
     *
     * @param subjectInfoBO
     */
    void add(SubjectInfoBO subjectInfoBO);

    SubjectOptionBO query(Long subjectId);
}
